package com.pig.rpc.provider;


import com.pig.rpc.config.RpcServiceConfig;

public interface ServiceProvider {

    //发布服务的功能
    void publishService(RpcServiceConfig config);

    //获取服务
    Object getService(String rpcServiceName);
}
